<div class="content">
    <div class="div-top">
        <span style="font-size: 20px;float:left;">{{menu_name}}</span>
        <div style="float:right;">
            <button ng-repeat="but in buttons" ng-click="clickBtn(but.event)" class="btn btn-{{but.style}}"><i class="iconfont {{but.img}}"></i>&nbsp;{{but.name}}</button>
        </div>
    </div>

    <form class="div-find form-inline" >
        <div class="form-group">
            <label class="form-label">学校办别：</label>
            <select class="form-control" ng-options="bb.id as bb.name for bb in bbList" ng-model="form.fk_dictionary_ascertained">
                <option value="">==请选择==</option>
            </select>
        </div>
        <div class="form-group">
            <label class="form-label">学校类别：</label>
            <select class="form-control" ng-options="lb.id as lb.name for lb in lbList" ng-model="form.fk_dictionary_school_type">
                <option value="">==请选择==</option>
            </select>
        </div>
        <div class="form-group">
            <label class="form-label">新校区名称：</label>
            <input ng-model="form.name" type="text" class="form-control" placeholder="姓名"/>
        </div>
        <button ng-click="select()" type="submit" class="btn btn-secondary"><i class="iconfont icon-search"></i>&nbsp;查询</button>
    </form>

    <div class="div-table">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th class="table-th-checkbox" ><input type="checkbox" ng-click="checkAll($event.target)" /></th>
                <!-- <th>学校编号（市）</th>-->
                <th column="father_name" class="sorting" ng-click="order($event.target)">主校区名称</th>
                <th column="name" class="sorting" ng-click="order($event.target)">新校区名称</th>
                <th column="fk_area_code" class="sorting" ng-click="order($event.target)">学校办别</th>
                <th column="fk_area_type" class="sorting" ng-click="order($event.target)">学校类别</th>
                <th column="address" class="sorting" ng-click="order($event.target)">详细地址</th>
            </tr>
            </thead>
            <tbody ng-switch on="page.current_num">
            <tr ng-switch-when="0">
                <td colspan="100" >查询无记录</td>
            </tr>
            <tr ng-repeat="row in rows" ng-click="optData($event.currentTarget)">
                <td>
                    <input type="checkbox" name="dataPk" value="{{row.id}}" />
                </td>
                <!-- <td>{{row.city_code}}</td>-->
                <td>{{row.father_name}}</td>
                <td>{{row.name}}</td>
                <td>{{row.fk_area_code}}</td>
                <td>{{row.fk_area_type}}</td>
                <td>{{row.address}}</td>
            </tr>
            </tbody>
        </table>
    </div>
    <div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page" ></div>
</div>